<?js

createPath(DbConnection.dbFolder());

var srcPath = script.mapPath('/JsWs').parent;
srcPath.append("install");
var tmpPath;

tmpPath = srcPath.clone();
tmpPath.append("404." + JSWS_SCRIPT_FILEEXT);
copyFile(
	tmpPath,
	server.serverRoot
	);

tmpPath = srcPath.clone();
tmpPath.append("pageHandler." + JSWS_SCRIPT_FILEEXT);
copyFile(
	tmpPath,
	server.serverRoot
	);
tmpPath = srcPath.clone();
tmpPath.append("renderDir." + JSWS_SCRIPT_FILEEXT);
copyFile(
	tmpPath,
	server.serverRoot
	);
tmpPath = srcPath.clone();
tmpPath.append("index." + JSWS_SCRIPT_FILEEXT);
copyFile(
	tmpPath,
	server.documentRoot
	);

?>